package cn.jxau.auth.annotation;

/**
 * 通过该注解来实现权限控制
 * @author licho
 *
 */
public enum AccessControl {
	NOLOGIN(0L,"游客","具有游客相关权限"),//未登录权限
	USER(1L,"用户","具有用户相关权限"),//用户权限
	ADMIN(2L,"管理员","具有管理员相关权限"),//管理员权限
	SUPER(3L,"超级管理员","具有超级管理员权限");//超级管理员权限
	private Long roleID;//角色id
	private String roleName;//角色名
	private String description;//角色描述
	AccessControl(Long id,String roleName,String decription){
		this.roleID=id;
		this.roleName=roleName;
		this.description=description;
	}
	public Long getRoleID() {
		return roleID;
	}
	public void setRoleID(Long roleID) {
		this.roleID = roleID;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
}
